package com.sc.nft.admin.request;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class AddCategoryRequest {

    @ApiModelProperty(value = "分类名称")
    @NotBlank(message = "请填写分类名称")
    private String name;

    @ApiModelProperty(value = "品牌是否可用")
    private Boolean isBrandUse;

    @ApiModelProperty(value = "是否为筛选条件")
    private Integer isSearchCondition;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    /**
     * 是否为虚拟分类
     */
    @ApiModelProperty(value = "是否为虚拟分类")
    private Boolean isVirtual;
}
